package com.frank.oj;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.retry.annotation.EnableRetry;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author frank
 * @Date 2024/4/26
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAsync(proxyTargetClass = true) //开启异步注解
@EnableTransactionManagement
@EnableRetry
@Slf4j(topic = "hcoj")
public class JudgeServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(JudgeServerApplication.class, args);
        log.info("判题机启动成功**********");
    }
}
